/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package epam_java.telephone.bill;

import epam_java.telephone.services.AbstractService;

/**
 *
 * @author 1
 */
    public class Bill {
    private AbstractService service;
    private boolean paiment;
    /**
     * количество едениц услуги
     */
    private int countServices;
    public Bill( AbstractService service, boolean paiment, int countServices) {
        this.service = service;
        this.paiment = paiment;
        this.countServices = countServices;
    }
    /**
     * @return the serviceNumber
     */
    public AbstractService getService() {
        return service;
    }

    /**
     * @param serviceNumber the serviceNumber to set
     */
    public void setService(AbstractService service) {
        this.service = service;
    }
    /**
     * @return the paiment
     */
    public boolean isPaiment() {
        return paiment;
    }

    /**
     * @param paiment the paiment to set
     */
    public void setPaiment(boolean paiment) {
        this.paiment = paiment;
    }

    /**
     * @return the countServices
     */
    public int getCountServices() {
        return countServices;
    }

    /**
     * @param countServices the countServices to set
     */
    public void setCountServices(int countServices) {
        this.countServices = countServices;
    }
}
